package com.travel.group.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.travel.group.entity.Users;

import java.util.List;

public interface UserService extends IService<Users> {

    void checkLogin(String username, String password) throws Exception;

    Users selectUserByUserName(String username);

    List<Users> getAllUser(Integer page, Integer limit);

    Integer countData();

    Users getByUid(String uid);

    Integer updatePassword(String uid, String pwd);
}
